KeyEventDispatcher
Types
Functions
Link copied to clipboard
open fun dispatchBeforeHierarchy(@NonNull root: @NonNull View, @NonNull event: @NonNull KeyEvent): Boolean
Call this before dispatching a KeyEvent to the view hierarchy.
Link copied to clipboard
open fun dispatchKeyEvent(@NonNull component: @NonNull KeyEventDispatcher.Component, @Nullable root: @Nullable View, callback: @Nullable Window.Callback, @NonNull event: @NonNull KeyEvent): Boolean
Call this when dispatching a key event.